FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

WORKDIR /app
EXPOSE 80

COPY . .

ENTRYPOINT ["dotnet", "HBKY.Shop.API.dll"]